import { createApp } from 'vue'
import App from './App.vue'

// 引入腾讯云的库
import { TUIComponents, TUIConstants, TUICore, TUICallKit, TUICallKitServer, TUICallType } from '@tencentcloud/call-uikit-vue';
import TUIRoomEngine from '@tencentcloud/tuiroom-engine-js';

const app = createApp(App);

// 将腾讯云相关组件和方法添加到全局属性
app.config.globalProperties.$TUICallKit = TUICallKit;
app.config.globalProperties.$TUICallKitServer = TUICallKitServer;
app.config.globalProperties.$TUICallType = TUICallType;
app.config.globalProperties.$TUIRoomEngine = TUIRoomEngine;

app.mount('#app');